home *** CD-ROM | disk | FTP | other *** search
- /* -*- tab-width: 4; indent-tabs-mode: nil -*-
- *
- * The contents of this file are subject to the Mozilla Public License
- * Version 1.1 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is The JavaScript Debugger
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation
- * Portions created by Netscape are
- * Copyright (C) 1998 Netscape Communications Corporation.
- *
- * Alternatively, the contents of this file may be used under the
- * terms of the GNU Public License (the "GPL"), in which case the
- * provisions of the GPL are applicable instead of those above.
- * If you wish to allow use of your version of this file only
- * under the terms of the GPL and not to allow others to use your
- * version of this file under the MPL, indicate your decision by
- * deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL. If you do not delete
- * the provisions above, a recipient may use your version of this
- * file under either the MPL or the GPL.
- *
- * Contributor(s):
- * Robert Ginda, <rginda@netscape.com>, original author
- *
- */
-
- @import url(chrome://communicator/skin/);
-
- /*
- * we have to explicitly import this css, because we're overriding the binding
- * of the supremely awful <tab> tag.
- */
- @import url(chrome://global/skin/tabbox.css);
-
- viewcontainer {
- -moz-binding: url(chrome://venkman/content/venkman-bindings.xml#viewcontainer-box);
- }
-
- viewcontainer[type="tab"] {
- -moz-binding: url(chrome://venkman/content/venkman-bindings.xml#viewcontainer-tab);
- }
-
- floatingview {
- -moz-binding: url(chrome://venkman/content/venkman-bindings.xml#floatingview);
- }
-
- treecol[hideheader="true"] {
- -moz-appearance: none;
- border: none;
- padding: 0px 0px 0px;
- }
-
- #session-output-iframe {
- border: thin silver inset;
- }
-
- .toolbar-primary-icon {
- width: 0px;
- height: 0px;
- }
-
- #source2-heading {
- padding-top: 2px !important;
- }
-
- tree {
- margin: 0px;
- }
-
- tabpanels {
- background: none;
- padding: 2px;
- }
-
- browser {
- border: thin silver inset;
- }
-
- #source-tree {
- font-family: monospace;
- }
-
- #maintoolbar\:cont {
- list-style-image: url("chrome://venkman/skin/images/cont.png");
- }
-
- #maintoolbar\:cont[disabled="true"],
- #maintoolbar\:cont[disabled="true"]:hover,
- #maintoolbar\:cont[disabled="true"]:active {
- list-style-image: url("chrome://venkman/skin/images/cont-dis.png");
- }
-
- #maintoolbar\:cont:hover {
- list-style-image: url("chrome://venkman/skin/images/cont-hov.png");
- }
-
- #maintoolbar\:cont:active {
- list-style-image: url("chrome://venkman/skin/images/cont-act.png");
- }
-
- #maintoolbar\:stop {
- list-style-image: url("chrome://venkman/skin/images/stop.png");
- }
-
- #maintoolbar\:stop[willStop="true"] {
- list-style-image: url("chrome://venkman/skin/images/stop-checked.png");
- }
-
- #maintoolbar\:stop[willStop="true"]:hover {
- list-style-image: url("chrome://venkman/skin/images/stop-checked-hov.png");
- }
-
- #maintoolbar\:stop[disabled="true"],
- #maintoolbar\:stop[disabled="true"]:hover,
- #maintoolbar\:stop[disabled="true"]:active {
- list-style-image: url("chrome://venkman/skin/images/stop-dis.png");
- }
-
- #maintoolbar\:stop:hover {
- list-style-image: url("chrome://venkman/skin/images/stop-hov.png");
- }
-
- #maintoolbar\:stop:active {
- list-style-image: url("chrome://venkman/skin/images/stop-act.png");
- }
-
- #maintoolbar\:step {
- list-style-image: url("chrome://venkman/skin/images/step-into.png");
- }
-
- #maintoolbar\:step[disabled="true"],
- #maintoolbar\:step[disabled="true"]:hover,
- #maintoolbar\:button[disabled="true"]:active {
- list-style-image: url("chrome://venkman/skin/images/step-into-dis.png");
- }
-
- #maintoolbar\:step:hover {
- list-style-image: url("chrome://venkman/skin/images/step-into-hov.png");
- }
-
- #maintoolbar\:step:active {
- list-style-image: url("chrome://venkman/skin/images/step-into-act.png");
- }
-
- #maintoolbar\:next {
- list-style-image: url("chrome://venkman/skin/images/step-over.png");
- }
-
- #maintoolbar\:next[disabled="true"],
- #maintoolbar\:next[disabled="true"]:hover,
- #maintoolbar\:next[disabled="true"]:active {
- list-style-image: url("chrome://venkman/skin/images/step-over-dis.png");
- }
-
- #maintoolbar\:next:hover {
- list-style-image: url("chrome://venkman/skin/images/step-over-hov.png");
- }
-
- #maintoolbar\:next:active {
- list-style-image: url("chrome://venkman/skin/images/step-over-act.png");
- }
-
- #maintoolbar\:finish {
- list-style-image: url("chrome://venkman/skin/images/step-out.png");
- }
-
- #maintoolbar\:finish[disabled="true"],
- #maintoolbar\:finish[disabled="true"]:hover,
- #maintoolbar\:finish[disabled="true"]:active {
- list-style-image: url("chrome://venkman/skin/images/step-out-dis.png");
- }
-
- #maintoolbar\:finish:hover {
- list-style-image: url("chrome://venkman/skin/images/step-out-hov.png");
- }
-
- #maintoolbar\:finish:active {
- list-style-image: url("chrome://venkman/skin/images/step-out-act.png");
- }
-
- #maintoolbar\:profile-tb {
- list-style-image: url("chrome://venkman/skin/images/profile.png");
- }
-
- #maintoolbar\:profile-tb[profile="true"] {
- list-style-image: url("chrome://venkman/skin/images/profile-checked.png");
- }
-
- #maintoolbar\:profile-tb[profile="true"]:hover {
- list-style-image: url("chrome://venkman/skin/images/profile-checked-hov.png");
- }
-
- #maintoolbar\:profile-tb:hover {
- list-style-image: url("chrome://venkman/skin/images/profile-hov.png");
- }
-
- #maintoolbar\:profile-tb:active {
- list-style-image: url("chrome://venkman/skin/images/profile-act.png");
- }
-
-
- #maintoolbar\:toggle-pprint {
- list-style-image: url("chrome://venkman/skin/images/prettyprint.png");
- }
-
- #maintoolbar\:toggle-pprint[state="true"] {
- list-style-image: url("chrome://venkman/skin/images/prettyprint-checked.png");
- }
-
- #maintoolbar\:toggle-pprint[state="true"]:hover {
- list-style-image: url("chrome://venkman/skin/images/prettyprint-checked-hov.png");
- }
-
- #maintoolbar\:toggle-pprint:hover {
- list-style-image: url("chrome://venkman/skin/images/prettyprint-hov.png");
- }
-
- #maintoolbar\:toggle-pprint:active {
- list-style-image: url("chrome://venkman/skin/images/prettyprint-act.png");
- }
-
- .scripts-search-label:hover {
- color: blue;
- }
-
- .view-container {
- -moz-box-orient: horizontal;
-
- /*
- border-top: 2px red solid;
- border-bottom: 2px black solid;
- */
- }
-
- .view-container[orient="vertical"] {
- -moz-box-orient: vertical;
-
- /*
- border-top: none;
- border-bottom: none;
- border-left: 4px green solid;
- border-right: 4px black solid;
- */
- }
-
- .view-container[type="tab"] {
- -moz-box-orient: vertical;
- }
-
- .view-title-margin-left {
- display: none;
- }
-
- .view-outer {
- margin-bottom: 4px;
- }
-
- .view-title-grippy {
- background: url(chrome://venkman/skin/images/shaded.png);
- border: 1px black solid;
- -moz-box-align: center;
- font-weight: bold;
- font-size: 10px;
- color: #333333;
- margin-right: 2px;
- margin-left: 2px;
- }
-
- .view-title-pop {
- list-style-image: url("chrome://venkman/skin/images/view-pop-button.png");
- margin: 1px;
- }
-
- .view-title-close {
- list-style-image: url("chrome://venkman/skin/images/view-close-button.png");
- margin: 1px;
- }
-
- tab {
- -moz-binding: none;
- padding-right: 5px;
- }
-
- .tab-close-button:hover {
- border: 1px silver outset;
- margin: 0px;
- margin-top: 1px;
- }
-
- .view-title-pop:hover,
- .view-title-close:hover {
- border: 1px silver outset;
- margin: 0px;
- }
-
- /*
- .view-title-margin-right {
- margin: 3px;
- border-top: 2px grey groove;
- padding: 2px;
- border-bottom: 2px grey groove;
- }
-
- .view-title-grippy {
- -moz-box-align: center;
- font-size: 8pt;
- font-variant: small-caps;
- }
- */
-
- tabbox {
- -moz-binding: none;
- }
-
- little-tab {
- -moz-binding: url(chrome://venkman/content/venkman-bindings.xml#little-tab);
- background: url(chrome://venkman/skin/images/shaded.png);
- border-left: 1px black solid;
- border-right: 1px black solid;
- border-bottom: 1px black solid;
- -moz-border-radius: 3px;
- margin-bottom: 1px;
- }
-
- little-tab[selected] {
- background: none;
- padding-top: 1px;
- margin-bottom: 0px;
- }
-
- little-tab[dragover="next-tab"] {
- margin-right: 4px;
- }
-
- little-tab[dragover="prev-tab"] {
- margin-left: 4px;
- }
-
- .view-title-pop[dragover="new-tab"] {
- list-style-image: url("chrome://venkman/skin/images/new-tab.png") !important;
- }
-
- viewcontainer[type="tab"] {
- padding: 4px 4px 4px 4px;
- }
-
- floatingview {
- padding: 4px 4px 4px 4px;
- }
-
- viewcontainer[type="tab"] floatingview {
- padding: 0px 0px 0px 0px !important;
- }
-
- floatingview[dragover="left"] {
- padding-left: 0px;
- border-left: 4px black solid;
- }
-
- viewcontainer[type="tab"][dragover="left"] {
- padding-left: 0px;
- border-left: 4px black solid;
- }
-
- .view-title-pop[dragover="left"] {
- list-style-image: url("chrome://venkman/skin/images/arrow-left.png") !important;
- }
-
- .tab-close-button {
- list-style-image: url("chrome://venkman/skin/images/view-close-button.png");
- margin: 1px;
- margin-top: 2px;
- }
-
- floatingview[dragover="up"] {
- padding-top: 0px;
- border-top: 4px black solid;
- }
-
- viewcontainer[type="tab"][dragover="up"] {
- padding-top: 0px;
- border-top: 4px black solid;
- }
-
- .view-title-pop[dragover="up"] {
- list-style-image: url("chrome://venkman/skin/images/arrow-up.png") !important;
- }
-
- floatingview[dragover="right"] {
- padding-right: 0px;
- border-right: 4px black solid;
- }
-
- viewcontainer[type="tab"][dragover="right"] {
- padding-right: 0px;
- border-right: 4px black solid;
- }
-
- .view-title-pop[dragover="right"] {
- list-style-image: url("chrome://venkman/skin/images/arrow-right.png") !important;
- }
-
- floatingview[dragover="down"] {
- padding-bottom: 0px;
- border-bottom: 4px black solid;
- }
-
- viewcontainer[type="tab"][dragover="down"] {
- padding-bottom: 0px;
- border-bottom: 4px black solid;
- }
-
- .view-title-pop[dragover="down"] {
- list-style-image: url("chrome://venkman/skin/images/arrow-down.png") !important;
- }
-
- /*
- .view-title-pop[parentid="locals"],
- .view-title-pop[parentid="scripts"],
- .view-title-pop[parentid="source"],
- .view-title-pop[parentid="watch"] {
- list-style-image: url("chrome://venkman/skin/images/XXX.png");
- }
- */
-
- /*
- .view-title-pop[parentid="stack"] {
- list-style-image: url("chrome://venkman/skin/images/stack.png");
- }
-
- .view-title-pop[parentid="windows"] {
- list-style-image: url("chrome://venkman/skin/images/windows.png");
- }
-
- .view-title-pop[parentid="breaks"] {
- list-style-image: url("chrome://venkman/skin/images/breakpoints.png");
- }
- */
-
- treechildren::-moz-tree-cell(source\:col-0) {
- background: #CCCCCC;
- border-right: 1px grey solid;
- }
-
- treechildren::-moz-tree-cell(source\:col-1) {
- border-right: 2px #CCCCCC solid;
- text-align: right;
- background: #EEEEEE;
- }
-
- treechildren::-moz-tree-row(current-line, selected) {
- background: green !important;
- }
-
- treechildren::-moz-tree-cell(source\:col-1, highlight-start),
- treechildren::-moz-tree-cell(source\:col-1, highlight-range),
- treechildren::-moz-tree-cell(source\:col-1, highlight-end) {
- border-right: 2px #919bd6 solid;
- background: #d5d5e0;
- }
-
- treechildren::-moz-tree-cell(source\:col-2, highlight-start),
- treechildren::-moz-tree-cell(source\:col-2, highlight-range),
- treechildren::-moz-tree-cell(source\:col-2, highlight-end) {
- border-left: 1px black solid;
- background: #EEEEEE;
- }
-
- treechildren::-moz-tree-cell(source\:col-1, selected),
- treechildren::-moz-tree-cell(source\:col-2, selected) {
- border-left: inherit !important;
- background: inherit !important;
- }
-
- treechildren::-moz-tree-cell(source\:col-1, current-line),
- treechildren::-moz-tree-cell(source\:col-2, current-line) {
- background: #ecef34;
- }
-
- #source-tree-body::-moz-tree-row {
- border: 0px;
- }
-
- treechildren::-moz-tree-image(source\:col-0, code) {
- list-style-image: url("chrome://venkman/skin/images/code-line.gif");
- }
-
- treechildren::-moz-tree-image(source\:col-0, code, prettyprint) {
- list-style-image: url("chrome://venkman/skin/images/code-line-dis.gif");
- }
-
- treechildren::-moz-tree-image(source\:col-0, future-breakpoint) {
- list-style-image: url("chrome://venkman/skin/images/breakpoint-future-line.gif");
- }
-
- treechildren::-moz-tree-image(source\:col-0, breakpoint) {
- list-style-image: url("chrome://venkman/skin/images/breakpoint-line.gif");
- }
-
- treechildren::-moz-tree-image(current-frame-flag){
- list-style-image: url("chrome://venkman/skin/images/current-frame.gif");
- }
-
- treechildren::-moz-tree-image(windows\:col-0, item-window) {
- list-style-image: url("chrome://venkman/skin/images/window.png");
- }
-
- treechildren::-moz-tree-image(windows\:col-0, item-files) {
- list-style-image: url("chrome://venkman/skin/images/files.png");
- }
-
- treechildren::-moz-tree-image(windows\:col-0, item-file) {
- list-style-image: url("chrome://venkman/skin/images/file-js.png");
- }
-
- treechildren::-moz-tree-image(breaks\:col-0, future-breakpoint) {
- list-style-image: url("chrome://venkman/skin/images/breakpoint-future.gif");
- }
-
- treechildren::-moz-tree-image(breaks\:col-0, item-breakpoint) {
- list-style-image: url("chrome://venkman/skin/images/breakpoint.png");
- }
-
- treechildren::-moz-tree-image(scripts\:col-0, file-function) {
- list-style-image: url("chrome://venkman/skin/images/file-function.png");
- }
-
- treechildren::-moz-tree-image(scripts\:col-0, file-function, item-has-bp) {
- list-style-image: url("chrome://venkman/skin/images/file-function-bp.png");
- }
-
- treechildren::-moz-tree-cell-text(watches\:col-0, item-error) {
- font-weight: bold;
- font-style: italic;
- color: darkred;
- }
-
- treechildren::-moz-tree-cell-text(scripts\:col-0, script-disabled) {
- font-style: italic;
- color: darkred;
- }
-
- treechildren::-moz-tree-cell-text(scripts\:col-0, script-disabled, selected, focus) {
- color: white;
- }
-
- treechildren::-moz-tree-cell-text(item-exception) {
- font-weight: bold;
- color: darkred;
- }
-
- treechildren::-moz-tree-cell-text(item-hinted) {
- font-weight: bold;
- color: #555555;
- }
-
- treechildren::-moz-tree-cell-text(item-hinted,selected) {
- color: white;
- }
-
- treechildren::-moz-tree-image(item-unk) {
- list-style-image: url("chrome://venkman/skin/images/file-unknown.png");
- }
-
- treechildren::-moz-tree-image(item-js) {
- list-style-image: url("chrome://venkman/skin/images/file-js.png");
- }
-
- treechildren::-moz-tree-image(item-html) {
- list-style-image: url("chrome://venkman/skin/images/file-html.png");
- }
-
- treechildren::-moz-tree-image(item-xul) {
- list-style-image: url("chrome://venkman/skin/images/file-xul.png");
- }
-
- treechildren::-moz-tree-image(item-xml) {
- list-style-image: url("chrome://venkman/skin/images/file-xml.png");
- }
-
- treechildren::-moz-tree-image(item-unk, item-has-bp) {
- list-style-image: url("chrome://venkman/skin/images/file-unknown-bp.png");
- }
-
- treechildren::-moz-tree-image(item-js, item-has-bp) {
- list-style-image: url("chrome://venkman/skin/images/file-js-bp.png");
- }
-
- treechildren::-moz-tree-image(item-html, item-has-bp) {
- list-style-image: url("chrome://venkman/skin/images/file-html-bp.png");
- }
-
- treechildren::-moz-tree-image(item-xul, item-has-bp) {
- list-style-image: url("chrome://venkman/skin/images/file-xul-bp.png");
- }
-
- treechildren::-moz-tree-image(item-xml, item-has-bp) {
- list-style-image: url("chrome://venkman/skin/images/file-xml-bp.png");
- }
-
- treechildren::-moz-tree-image(item-frame) {
- /* list-style-image: url("chrome://venkman/skin/images/value-frame.png");*/
- list-style-image: url("chrome://venkman/skin/images/clear.png");
- }
-
- treechildren::-moz-tree-image(item-void) {
- list-style-image: url("chrome://venkman/skin/images/value-void.png");
- }
-
- treechildren::-moz-tree-image(item-null) {
- list-style-image: url("chrome://venkman/skin/images/value-null.png");
- }
-
- treechildren::-moz-tree-image(item-bool) {
- list-style-image: url("chrome://venkman/skin/images/value-bool.png");
- }
-
- treechildren::-moz-tree-image(item-int) {
- list-style-image: url("chrome://venkman/skin/images/value-int.png");
- }
-
- treechildren::-moz-tree-image(item-double) {
- list-style-image: url("chrome://venkman/skin/images/value-double.png");
- }
-
- treechildren::-moz-tree-image(item-string) {
- list-style-image: url("chrome://venkman/skin/images/value-string.png");
- }
-
- treechildren::-moz-tree-image(item-function) {
- list-style-image: url("chrome://venkman/skin/images/value-function.png");
- }
-
- treechildren::-moz-tree-image(item-object) {
- list-style-image: url("chrome://venkman/skin/images/value-object.png");
- }
-